package com.data.permission.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 树据权限拦截顺
 *
 * @author zhangbo
 */
@Target(value = {ElementType.METHOD})
@Retention(value = RetentionPolicy.RUNTIME)
public @interface DataAuth {
    /*规则编号*/
    String ruleCode();

    /*启用条件字段*/
    boolean openArgs() default true;

}